import Vue from 'vue'
import VueRouter from 'vue-router';
Vue.use(VueRouter)
const routes = [
    {
        path:'/',
        redirect:'/student'
    },
    {
        path: '/index',
        name: 'index',
        component: () => import('../views/index/index.vue')
    },
    {
        path: '/student',
        name: 'student',
        component: () => import('../views/student/index.vue')
    }
]
const router = new VueRouter({
    routes
})

export default router